<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title></title>
    <link rel="stylesheet" href="css/pintuer.css">
    <link rel="stylesheet" href="css/admin.css">
    <script src="js/jquery.js"></script>
    <script src="js/pintuer.js"></script>
</head>
<body>
<form action="memberadd" method="post" name="formadd">
    <div class="panel admin-panel">
        <div class="panel-head"><strong> 快递员信息</strong></div>
        <div class="body-content">
            <div class="form-x">
                <div class="form-group">
                    <div class="label">
                        <label for="sitename">账户：</label>
                    </div>
                    <div class="field">
                        <input type="text" maxlength="15" class="input w100"  name="name"  size="50" data-validate="required:请输入发货姓名,repeat#password:"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="label">
                        <label for="sitename">密码：</label>
                    </div>
                    <div class="field">
                        <input type="text" class="input w100"  name="password"  size="50" data-validate="required:请输入发货姓名,repeat#password:"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="label">
                        <label for="sitename">真实姓名：</label>
                    </div>
                    <div class="field">
                        <input type="text" class="input w100"  name="signname"  size="50" data-validate="required:请输入发货姓名,repeat#password:"/>
                    </div>
                </div>
            </div>
                <center><button class="button bg-main icon-check-square-o" onclick="member_insert()"> 提交</button>   </center>
            </div>
        </div>
    </div>
</form>
</body>
<script>
    function member_insert() {
        var name = $(" input[ name='name' ] ").val();
        var password = $(" input[ name='password' ] ").val();
        var signname = $(" input[ name='signname' ] ").val();
        var expresspoint = $(" input[ name='expresspoint' ] ").val();
        if (name == "") {
            alert('账号不能为空');
            return false;
        }
        if (signname == "") {
            alert('快递员真实姓名不能为空');
            return false;
        }
document.formadd.submit();
    }

</script>
</html>